package test.visualtests;

import javax.swing.JFrame;
import javax.swing.table.DefaultTableModel;

import table.MultiLineTable;

/**
 * 
 * @author D'Er'Nasherbrezon aka dernasherbrezon %)
 *
 */
public class testOfflineModeWithMultiLineTable  extends JFrame
{
	public testOfflineModeWithMultiLineTable()
	{
		setTitle("Test MultiLineTable");
		DefaultTableModel dm = new DefaultTableModel();
        dm.setDataVector(new Object[][]{
            {"119","Finbar", "John","Saunders","ja","ko","zh"},
            {"911","Roger", "Peter","Melly","en","fr","pt"}},
            new Object[]{"SNo.","Fijggfhgfhgfhgfrst", "1","2","Native","2","3"});
        
        MultiLineTable table = new MultiLineTable(dm);
        
        getContentPane().add( table );
        setSize( 800, 600 );
        
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setVisible(true);
		
	}
	
	public static void main(String[] args)
	{
        new testOfflineModeWithMultiLineTable();
	}
}
